//
// Created by lh on 17-9-13.
//

#include <iostream>
typedef long long int ll;
using namespace std;

ll fp(int a,int b)
{
    int base=a,sum=1;
    while(b!=0)
    {
        if((b&1)==1)
        {
            sum*=base;
        }
        base *=base;
        b>>=1;
    }
    return sum;
}

int main()
{
    cout<<fp(2,30);
    return 0;
}